<script type="text/javascript" src="${basePath}/js/tds-mapping.js"></script>

<form id="form" action="${basePath}/mapping/mainlist" method="get">
		<div id="targetList"></div>
</form>
<div class="col-md-10 master-right">
     <div  id="masterhost" style="width: 100%; background-color:#fff;overflow:auto;margin-top:10px;border-top:2px solid #e1e2e3;"> </div>
</div>

<script type="text/javascript">
	$(document).ready(function() {
		$('#form').ajaxpager({
			target : '#targetList'
		});
	});

  $(document).ready(function() { 
	// 全选/取消全部 
	$("#checkAllChange").click(function() { 
		if (this.checked == true) { 
			$("input[name='targetId']").each(function() { 
				this.checked = true; 
				}); 
			} else { 
				$("input[name='targetId']").each(function() { 
					this.checked = false; 
				}); 
			} 
		}); 
	}); 

 $(function(){
    $(".con-info").click(function(){
        $(this).removeClass("con-info-b");
        $(this).addClass("con-info-a");
        $(this).siblings().removeClass("con-info-a");
        $(this).siblings().addClass("con-info-b");
    });
});

</script>


